package oo_day03;

public class Chick extends Animal {

    Chick(String name,int age,String color){
        super(name,age,color);
    }
    void egg(){
        System.out.println("我叫:"+name+"已经"+age+"岁了,是:"+color+"颜色的动物,正在吃下蛋...");
    }
    void eat(){
        System.out.println("我叫:"+name+"已经"+age+"岁了,是:"+color+"颜色的动物,正在吃大米...");
    }
}

